#include <iostream>
#include <vector>

int count(std::vector<int> &arr)
{
    int cnt = 0;
    for (int i = 0; i < arr.size(); i++)
    {
        cnt += arr[i];
    }

    return cnt;
}

int main()
{
    int M;
    std::cin >> M;
    if (M <= 1 || M >= 100)
    {
        std::cout << "ERROR!" << std::endl;
        return 0;
    }

    std::vector<int> arr(100, 1);

    int cnt = 0;
    while (count(arr) >= M)
    {
        // std::cout << count(arr) << std::endl;
        for (int i = 0; i < 100; i++)
        {
            if (arr[i] == 1)
                cnt++;
            if (cnt % M == 0)
            {
                arr[i] = 0;
                cnt = 0;
            }
        }
    }

    int k = 0;
    for (int i = 0; i < 100; i++)
    {
        if (arr[i] == 1 && k < M - 2)
        {
            std::cout << i + 1 << ".";
            k++;
        }
        else if (arr[i] == 1)
        {
            std::cout << i + 1 << std::endl;
        }
    }

    return 0;
}